package messages;

import info.Flight;

import java.io.Serializable;
import java.util.List;

public class SearFliRequestMessage extends Message implements Serializable {

    private Flight flight;
    private List<Flight> flightList;
    private String flightID;
    public SearFliRequestMessage() {
        super(MSG_TYPE.MSG_SEARFLI_REQ);
//        this.flightID=flight.getFlight();
    }


        public SearFliRequestMessage(String flightID) {
        super(MSG_TYPE.MSG_SEARFLI_REQ);
//        this.flight=fight;
        this.flightID=flightID;
    }
    public info.Flight getFlight(){return flight;}
    public void setFlight(String flightI){this.flightID=flightID;}

    public String getFlightID(){
        return flightID;
    }
    public void setFlightID(String flightID) {
        this.flightID=flightID;
    }
}
